package com.datawin.taotaocheche.ui.fragment.module;

import dagger.Module;
import dagger.Provides;
import com.datawin.taotaocheche.ui.fragment.biz.OwnerBiz;
import com.datawin.taotaocheche.ui.fragment.contract.OwnerContract;

/**
 * Created by chenjian on 17/11/30.
 */
@Module
public class OwnerMoudle {
    private OwnerContract.View view;

    public OwnerMoudle(OwnerContract.View view) {
        this.view = view;
    }

    @Provides
    public OwnerContract.View provideView() {
        return view;
    }

    @Provides
    public OwnerBiz provideBiz() {
        return new OwnerBiz();
    }
}
